Skip to content

Conversation

Jon-Salmon
Copy link

Adds a few optimizations to the string decoder:

  • If length is zero can perform an early return
  • Brought the reading of the buffer inline as otherwise an extra copy operation is performed if copyBinaryData is true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant